package cn.boysoft.core.model.message.json;

import cn.boysoft.core.model.JSON;
import cn.boysoft.core.model.message.Response;
import cn.boysoft.core.util.JsonUtil;

/**
 * @author 付厚俊
 * CreateTime 2013-4-4 下午12:54:19
 */
@SuppressWarnings("unchecked")

public class JSONResponse  implements JSON{

	private Response response;
	
	
	public JSONResponse(Response<Object> response){
		this.response =  response;
	}
	@Override
	public String toJson() {
		return JsonUtil.toJson(response);
	}
}


